//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   ACCESS_TEAM
// AUTHOR           :   Jerry Chen 
// DATE CREATE      :   2007/10/26
// DESCRIPTION      :   a SCHEMA file for the function, ACCESS_TEAM
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/10/26   Jerry Chen      1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.setup.accessTeamMaster.schema;

import com.erp.framework.model.schema.MetaData;
import com.erp.framework.model.schema.TableSchema;

/**
* <p>A <strong>Schema</strong> stores the table meta information.
* The main purpose for this class is to validate the lengths of UniCode Characters,
* and notify the database to store UniCode characters from web browsers.
*
* @author          Jerry Chen 
* @version 1.0     2007/10/26
* @since           FrameWork 1.0
*
*/
public class AccessTeamHdrSchema extends TableSchema {

	public static final String TABLE_NAME = "T_ACCESS_TEAM_HDR";

	public AccessTeamHdrSchema(){

		MetaData md = null;

		md = new MetaData();
		md.setColumnName("COMPANY_CODE");
		md.setVoPropertyName("companyCode");
		md.setColumnTitle("COMPANY_CODE");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(0);
		md.setWebObjectId("LBL_HDR_COMPANY_CODE");
		md.setWebLabelName("DEF HDR COMPANY CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_COMPANY_CODE");
		md.setVoPropertyName("srchCompanyCodeFr");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_COMPANY_CODE");
		md.setWebLabelName("DEF SRCH COMPANY CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_COMPANY_CODE");
		md.setVoPropertyName("srchCompanyCodeTo");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_COMPANY_CODE");
		md.setWebLabelName("DEF SRCH COMPANY CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_COMPANY_CODE");
		md.setVoPropertyName("lblGridCompanyCode");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_COMPANY_CODE");
		md.setWebLabelName("DEF GRID COMPANY CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("ACCESS_TEAM_CODE");
		md.setVoPropertyName("accessTeamCode");
		md.setColumnTitle("ACCESS_TEAM_CODE");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(0);
		md.setWebObjectId("LBL_HDR_ACCESS_TEAM_CODE");
		md.setWebLabelName("DEF HDR ACCESS TEAM CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_ACCESS_TEAM_CODE");
		md.setVoPropertyName("srchAccessTeamCodeFr");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_ACCESS_TEAM_CODE");
		md.setWebLabelName("DEF SRCH ACCESS TEAM CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_ACCESS_TEAM_CODE");
		md.setVoPropertyName("srchAccessTeamCodeTo");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_ACCESS_TEAM_CODE");
		md.setWebLabelName("DEF SRCH ACCESS TEAM CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_ACCESS_TEAM_CODE");
		md.setVoPropertyName("lblGridAccessTeamCode");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_ACCESS_TEAM_CODE");
		md.setWebLabelName("DEF GRID ACCESS TEAM CODE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("ACCESS_TEAM_NAME");
		md.setVoPropertyName("hdrAccessTeamName");
		md.setColumnTitle("ACCESS_TEAM_NAME");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(200);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(200);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_ACCESS_TEAM_NAME");
		md.setWebLabelName("DEF HDR ACCESS TEAM NAME");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_ACCESS_TEAM_NAME");
		md.setVoPropertyName("srchHdrAccessTeamNameFr");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_ACCESS_TEAM_NAME");
		md.setWebLabelName("DEF SRCH ACCESS TEAM NAME");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_ACCESS_TEAM_NAME");
		md.setVoPropertyName("srchHdrAccessTeamNameTo");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_ACCESS_TEAM_NAME");
		md.setWebLabelName("DEF SRCH ACCESS TEAM NAME");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_ACCESS_TEAM_NAME");
		md.setVoPropertyName("lblGridHdrAccessTeamName");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_ACCESS_TEAM_NAME");
		md.setWebLabelName("DEF GRID ACCESS TEAM NAME");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("DESCRIPTION");
		md.setVoPropertyName("hdrDescription");
		md.setColumnTitle("DESCRIPTION");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(4000);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(4000);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_DESCRIPTION");
		md.setWebLabelName("DEF HDR DESCRIPTION");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_DESCRIPTION");
		md.setVoPropertyName("srchHdrDescriptionFr");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_DESCRIPTION");
		md.setWebLabelName("DEF SRCH DESCRIPTION");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_DESCRIPTION");
		md.setVoPropertyName("srchHdrDescriptionTo");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_DESCRIPTION");
		md.setWebLabelName("DEF SRCH DESCRIPTION");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_DESCRIPTION");
		md.setVoPropertyName("lblGridHdrDescription");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_DESCRIPTION");
		md.setWebLabelName("DEF GRID DESCRIPTION");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("STATUS");
		md.setVoPropertyName("hdrStatus");
		md.setColumnTitle("STATUS");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_STATUS");
		md.setWebLabelName("DEF HDR STATUS");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_STATUS");
		md.setVoPropertyName("srchHdrStatus");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_STATUS");
		md.setWebLabelName("DEF SRCH STATUS");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_SRCH_STATUS");
		md.setVoPropertyName("srchHdrStatus");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_SRCH_STATUS");
		md.setWebLabelName("DEF SRCH STATUS");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("LBL_GRID_STATUS");
		md.setVoPropertyName("lblGridHdrStatus");
		md.setColumnClassName("java.lang.String");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_GRID_STATUS");
		md.setWebLabelName("DEF GRID STATUS");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("DC_IND");
		md.setVoPropertyName("hdrDcInd");
		md.setColumnTitle("DC_IND");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_DC_IND");
		md.setWebLabelName("DEF HDR DC IND");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("DC_DATE");
		md.setVoPropertyName("hdrDcDate");
		md.setColumnTitle("DC_DATE");
		md.setColumnTypeName("DATE");
		md.setColumnType(91);
		md.setColumnSize(15);
		md.setColumnCatalogName("");
		md.setColumnClassName("com.erp.framework.types.CustomSqlDate");
		md.setColumnPrecision(0);
		md.setColumnScale(0);
		md.setDisplaySize(15);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_DC_DATE");
		md.setWebLabelName("DEF HDR DC DATE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("CREATE_USER");
		md.setVoPropertyName("createUser");
		md.setColumnTitle("CREATE_USER");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_CREATE_USER");
		md.setWebLabelName("DEF HDR CREATE USER");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("CREATE_DATE");
		md.setVoPropertyName("createDate");
		md.setColumnTitle("CREATE_DATE");
		md.setColumnTypeName("DATE");
		md.setColumnType(91);
		md.setColumnSize(15);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.sql.Timestamp");
		md.setColumnPrecision(0);
		md.setColumnScale(0);
		md.setDisplaySize(15);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_CREATE_DATE");
		md.setWebLabelName("DEF HDR CREATE DATE");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("UPDATE_USER");
		md.setVoPropertyName("updateUser");
		md.setColumnTitle("UPDATE_USER");
		md.setColumnTypeName("VARCHAR2");
		md.setColumnType(12);
		md.setColumnSize(35);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.lang.String");
		md.setColumnPrecision(35);
		md.setColumnScale(0);
		md.setDisplaySize(30);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_UPDATE_USER");
		md.setWebLabelName("DEF HDR UPDATE USER");
		ts.add(md);

		md = new MetaData();
		md.setColumnName("UPDATE_DATE");
		md.setVoPropertyName("updateDate");
		md.setColumnTitle("UPDATE_DATE");
		md.setColumnTypeName("DATE");
		md.setColumnType(91);
		md.setColumnSize(15);
		md.setColumnCatalogName("");
		md.setColumnClassName("java.sql.Timestamp");
		md.setColumnPrecision(0);
		md.setColumnScale(0);
		md.setDisplaySize(15);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		md.setWebObjectId("LBL_HDR_UPDATE_DATE");
		md.setWebLabelName("DEF HDR UPDATE DATE");
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_HDR_SELECT");
		md.setWebLabelName("DEF HDR SELECT");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_HDR_DELETE");
		md.setWebLabelName("DEF HDR DELETE");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_SEARCH_MOD_NAME");
		md.setWebLabelName("DEF SEARCH MOD NAME");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_MAINT_MOD_NAME");
		md.setWebLabelName("DEF MAINT MOD NAME");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_TAB_HDR");
		md.setWebLabelName("LBL_TAB_HDR");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_SRCH_FROM");
		md.setWebLabelName("DEF SRCH FROM");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		md = new MetaData();
		md.setWebObjectId("LBL_SRCH_TO");
		md.setWebLabelName("DEF SRCH TO");
		md.setColumnSize(35);
		md.setDisplaySize(20);
		md.setTextAreaColSize(20);
		md.setTextAreaRowSize(2);
		md.setIsNullable(1);
		ts.add(md);

		new AccessTeamCommonSchema().setMoreSchema();
	}

}